-- dragon_majesty
-- created by shuzy
-- 状态： 龙威震慑

return {
    fetchProps = function(who, status, condition)
        local value = tonumber(condition["value"]);
        local endRound   = condition["end_round"];
        local props = {};
        local propId = PropM.getPropId("dragon_majesty");

        table.insert(props, { propId, 1, value, endRound, });

        return props;
    end,

    desc = function(who, status, condition)
        -- 获取状态描述
        local cfg = CombatStatusM.getStatusInfo(status);
        local desc = cfg.desc;

        -- 效果，百分比
        local value = tonumber(condition["value"]);

        desc = string.gsub(desc, "{value}", value / 10);

        return desc;
    end,
};